<?php 
    $lienbase = 'http://127.0.01/uber-link/'; 
?> 

<ul class="menu">
    <li <?php if(isset($page))echo ($page=='index')?'class="current"':'' ; ?> ><a href="index.php"><span class="icon" data-icon="I"></span>Accueil</a></li>
    <li <?php if(isset($page)) echo ($page=='categorie')?'class="current"':'' ; ?> ><a href="categorie.php"><span class="icon" data-icon="Y"></span>   Catégories   </a>
        <ul>
            <li><a href=""><span class="icon" data-icon="Z"></span>PHP</a></li>
            <li><a href=""><span class="icon" data-icon="D"></span>BDD</a></li>
            <li><a href=""><span class="icon" data-icon="M"></span>Java</a></li>
            <li><a href=""><span class="icon" data-icon="N"></span>JQuery</a></li>
            <li><a href=""><span class="icon" data-icon="="></span>Photoshop</a></li>
            <li><a href=""><span class="icon" data-icon="W"></span>Sécurité</a></li>
            <li><a href=""><span class="icon" data-icon="3"></span>Musique</a></li>
            <li><a href=""><span class="icon" data-icon="2"></span>Vidéo</a></li>
            <li><a href=""><span class="icon" data-icon="R"></span>IDE</a></li>
        </ul>
    </li>
    <li  <?php if(isset($page)) echo ($page=='ajout-lien')?'class="current"':'' ; ?> ><a href="ajout-lien.php"><span class="icon" data-icon="p"></span>Ajout de lien</a>
    <li  <?php if(isset($page)) echo ($page=='dl-lien')?'class="current"':'' ; ?> ><a href="dl-lien.php"><span class="icon medium" data-icon="]"></span>Télécharger les liens</a>
    <li  <?php if(isset($page)) echo ($page=='gestion')?'class="current"':'' ; ?> ><a href="gestion.php "><span class="icon" data-icon="G"></span>Gestion</a>
    <li><input style="margin-left: 120px; " type="text" name="search"/>&nbsp;<span class="icon gray medium" data-icon="s" style="padding-top: 5px ; cursor: pointer;"></span></li>
</ul>
